package com.test.application.designPatterns.principles_design.jiekougeli.before;

/**
 * 描述: 黑马安全门
 * 作者: yanruizhi
 * 时间: 2024/9/18 15:11
 */
public class HeiMaSafetyDoor implements DoorFunction {
    @Override
    public void fireDefend() {
        System.out.println("防火");
    }

    @Override
    public void waterDefend() {
        System.out.println("防水");
    }

    @Override
    public void theftDefend() {
        System.out.println("防盗");
    }
}
